package com.xyh.transaction.entity;

import com.xyh.transaction.common.ImageType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Image extends BaseEntity {
    private Integer id;
    private Integer relatedId;
    private String url;
    private String altText;
    private ImageType imageType;
}
